package com.adinnet.admin.dict.service;

import com.adinnet.admin.dict.model.form.DictForm;
import com.adinnet.admin.dict.model.Dict;
import com.adinnet.core.JsonResult;
import com.adinnet.core.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 字典 服务类
 * </p>
 *
 * @author sunjianbo
 * @since 2019-11-05
 */
public interface DictService extends IService<Dict> {
    PageResult<Dict> queryList(DictForm form);

    JsonResult deleteDict(String dictId);

    JsonResult addDict(Dict dict);

    JsonResult updateDict(Dict dict);

    List<Dict> getArea();

    PageResult<Dict> noPageList(Dict dict);

    Dict getDictByDictCode(String dictCode);

    PageResult<Dict> dictList(DictForm form);

    JsonResult updateBootPage(int checked);
}
